package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 身份认证对象 jiajia_worker_renzheng
 *
 * @author ruoyi
 * @date 2021-10-14
 */
public class JiajiaWorkerRenzheng extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 社工ID
     */
    @Excel(name = "社工ID")
    private Long wid;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String code;

    /**
     * 身份证正面
     */
    @Excel(name = "身份证正面")
    private String codeAPhoto;

    /**
     * 身份证反面
     */
    @Excel(name = "身份证反面")
    private String codeBPhoto;

    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态 0 1 2")
    private Integer authStatus;

    /**
     * 审核不通过的原因
     */
    @Excel(name = "审核不通过的原因")
    private String authCause;

    private String wName;

    private String inviter;

    private String  payStatus;

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getInviter() {
        return inviter;
    }

    public void setInviter(String inviter) {
        this.inviter = inviter;
    }

    public String getwName() {
        return wName;
    }

    public void setwName(String wName) {
        this.wName = wName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWid(Long wid) {
        this.wid = wid;
    }

    public Long getWid() {
        return wid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCodeAPhoto(String codeAPhoto) {
        this.codeAPhoto = codeAPhoto;
    }

    public String getCodeAPhoto() {
        return codeAPhoto;
    }

    public void setCodeBPhoto(String codeBPhoto) {
        this.codeBPhoto = codeBPhoto;
    }

    public String getCodeBPhoto() {
        return codeBPhoto;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAuthStatus(Integer authStatus) {
        this.authStatus = authStatus;
    }

    public Integer getAuthStatus() {
        return authStatus;
    }

    public void setAuthCause(String authCause) {
        this.authCause = authCause;
    }

    public String getAuthCause() {
        return authCause;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("wid", getWid())
                .append("name", getName())
                .append("code", getCode())
                .append("codeAPhoto", getCodeAPhoto())
                .append("codeBPhoto", getCodeBPhoto())
                .append("addtime", getAddtime())
                .append("authStatus", getAuthStatus())
                .append("authCause", getAuthCause())
                .append("inviter", getInviter())
                .toString();
    }
}
